package com.it;

public class hello {
    public static void main(String[] args) {
        double a = (100.0 + 80.0 + 97.0 + 98.0 + 99.0 + 89.0 - 100.0 - 80.0) / 4;
        System.out.println("a = " + a);//95.75


        double b = (100 + 80 + 97 + 98 + 99 + 89 - 100 - 80) / 4;
        System.out.println("b = " + b);//95.0
    }
}
